﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace WebClient.Controls
{
    public partial class search : System.Web.UI.UserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }
        protected void btnsearch_Click(object sender, ImageClickEventArgs e)
        {
           
            String surl = String.Format("/products.aspx?id={0}&find={1}",cbbsearch.SelectedValue,txtsearch.Text.Trim());
            Response.Redirect(surl);
        }
    }
}